package sh.wnxy.wn38.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wn38
 * @since 2021-07-15
 */
@TableName("`order`")
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Order对象", description="")
public class Order implements Serializable {

   private static final long serialVersionUID = 1L;
    @TableId
    private String orderId;
 @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    private String orderUserid;

    private Double orderSum;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDelete;


}
